//
//  PresidentDetailTableViewController.m
//  ComputerTableViewStoryboard
//
//  Created by student on 16/3/7.
//  Copyright © 2016年 NIIT. All rights reserved.
//

#import "PresidentDetailTableViewController.h"

@interface PresidentDetailTableViewController ()
@property (weak, nonatomic) IBOutlet UITextField *nameTextField;
@property (weak, nonatomic) IBOutlet UITextField *FromTextField;
@property (weak, nonatomic) IBOutlet UITextField *ToTextField;
@property (weak, nonatomic) IBOutlet UITextField *PartyField;


@end

@implementation PresidentDetailTableViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    // 把对象信息显示到界面
    self.nameTextField.text = self.pre.name;
    self.FromTextField.text = self.pre.fromYear;
    self.ToTextField.text = self.pre.toYear;
    self.PartyField.text = self.pre.party;
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}



@end
